<?php load_lang_file('article');?>
<h1><?=$this->lang->line("Create_an_article");?></h1>

<div class="pad20">



    <!-- Tabs -->

    <div id="tabs">

        <ul>

            <li><a href="#tabs-1"><?=$this->lang->line("Article_content");?></a></li>

            <li><a href="#tabs-2"><?=$this->lang->line("Meta");?></a></li>

            <li><a href="#tabs-3"><?=$this->lang->line("Options");?></a></li>

        </ul>

        <!-- Form -->

        <form method="post" action="<?=$_SERVER["PHP_SELF"];?>">

        <!-- First tab -->

        <div id="tabs-1">

            

                <!-- Fieldset -->

                <fieldset>

                    <legend><?=$this->lang->line("Article_info");?></legend>

                    

                    

                    <p>

                        <label for="lf"><?=$this->lang->line("Title");?>:</label>

                        <input id="article_title" class="lf" name="article_title" type="text" value="" />

                    </p>

                    <p>

                        <label for="sf"><?=$this->lang->line("Date");?>:</label>

                        <input id="article_date" class="sf" name="article_date" type="text" value="" />

                    </p>

                    <p>

                        <label for="dropdown">Category: </label>

                        <select name="article_category" class="dropdown">

                            <option><?=$this->lang->line("Please_select_a_category");?></option>

                            <?=$this->admin_form_model->get_articles_categories_dropdown(); ?>

                        </select>

                    </p>

                    

                    <p>

                        <!-- WYSIWYG editor -->

                        <textarea cols="80" rows="10" class="wysiwyg"></textarea>

                        <!-- End of WYSIWYG editor -->

                    </p>

                    <p>

                        <input class="button" type="submit" name="submit" value="<?=$this->lang->line("Submit");?>" />

                        <input class="button" type="reset" value="<?=$this->lang->line("Reset");?>" />

                    </p>

                </fieldset>

                <!-- End of fieldset -->

            
            <p>Some info</p>

        </div>

        <!-- End of First tab -->



        <!-- Second tab -->

        <div id="tabs-2">

            <fieldset>

            <legend><?=$this->lang->line("Meta_information");?></legend>

            <p>Some info about Meta data</p>

            <p>

                <label for="article_meta_tags"><?= $this->lang->line("Meta_tags"); ?>:</label>

                <input id="article_meta_tags" class="lf" name="article_meta_tags" type="text" value="" />

            </p>

            </fieldset>

        </div>

        <!-- End of Second tab -->



        <!-- Third tab -->

        <div id="tabs-3">

            <fieldset>

                <legend>Article options</legend>

                <div class="inpcol">

                    <p><input type="checkbox" name="article_comments" value="on"/><?=$this->lang->line("Enable_commenting");?></p>


                </div>
                
            </fieldset>

        </div>

        <!-- End of Third tab -->
        
        </form>

        <!-- End of Form -->
    </div>

    <!-- End of Tabs -->

</div>